﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhjt.Comm.Lib.Tools.StringTools
{
    /// <summary>
    /// html工具类
    /// </summary>
    public class HtmlTools
    {
        /// <summary>
        /// 返回checkbox 选中的html字符串
        /// </summary>
        /// <param name="isCheck">是否选中</param>
        /// <returns></returns>
        public static string GetCheckBoxCheckStr(bool isCheck)
        {
            if (isCheck) return "checked=\"checked\"";
            return "";
        }
    }
}
